package com.sxjh.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Collection;

@Data
@TableName("users")
public class User {

  private Integer id;

  /**
   * 账户名称
   */
  private String name;

  /**
   * 权限列表
   */
  @TableField(exist = false)
  private Collection<String> permissions;

}